/**
 * Created by juntaozhang on 4/29/15.
 */
public class Hello {
  private String name;

  public String getName() {
    return name;
  }

  public Hello setName(String name) {
    this.name = name;
    return this;
  }

  public void hi(){
    System.out.println("hi");
  }

  static{
    System.out.println("Hello init");
  }

  public static void main(String[] args) throws InterruptedException {
    System.out.println("hello world!");
    new Thread(new Runnable() {
      @Override
      public void run() {
        try {
          System.out.println("hello thread!");
          Thread.sleep(1000 * 25*10);
        } catch (InterruptedException e) {
          e.printStackTrace();
        }
      }
    }).start();
    Thread.sleep(1000 * 20*10);
    System.out.println("hello Juntao!");
  }
}
